package com.woniu.outlet.mysql;

import com.woniu.outlet.mysql.po.EarningsMySQL;
import com.woniu.outlet.mysql.po.EarningsMySQLExample;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EarningsDao {
    int deleteByPrimaryKey(Integer id);

    int insert(EarningsMySQL record);

    int insertSelective(EarningsMySQL record);

    List<EarningsMySQL> selectByExample(EarningsMySQLExample example);

    EarningsMySQL selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EarningsMySQL record);

    int updateByPrimaryKey(EarningsMySQL record);
}